package com.cxh.service.impl;

import com.cxh.base.Data2ServiceImpl;
import com.cxh.util.DataSource;
import com.cxh.dao.CarTypeDao;
import com.cxh.entity.CarType;
import com.cxh.service.CarTypeService;
import com.cxh.util.CommonUtility;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 类说明：学生表 
 * @author  YangHL
 * @date  2018-10-15 09:53:21
 */
@Service("carTypeService")
@DataSource("dataSource2")
public class CarTypeServiceImpl extends Data2ServiceImpl<CarType> implements CarTypeService {
    @Autowired
    private CarTypeDao dao;


    @Override
    public List<CarType> loadPageList(Map<String, Object> map) {
       return dao.loadPageList(map);
    }
    
    @Override
    public List<CarType> getData() {
    	return dao.getData();
    }

}
